package Com.amit.Java_New_Feature;

import java.util.Scanner;

public class Lab1 {

	
	public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		System.out.println("Please enter ur age");
		
		int value=sc.nextInt();
		
		assert value>=18:"not valid";
		
		System.out.println("value is:"+value);
		
	}

}
